package cn.doitedu.rtdw.udf;


import com.alibaba.fastjson.JSON;
import org.apache.flink.table.functions.ScalarFunction;

import java.util.Map;

public class Map2JsonStr extends ScalarFunction {
    public String eval(Map<String,String> properties){
        return JSON.toJSONString(properties);
    }
}